package com.qqt.csr.order.vo.resp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: yang hao
 * @Date: 2024/12/11 15:48
 * @Description: 订单动态响应
 **/
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "OrderDynamicRespVO", description = "订单动态响应")
public class OrderDynamicRespVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 8184706373392762728L;
    @Schema(description = "主键")
    private Long id;

    @Schema(description = "动态内容")
    private String content;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "创建人id")
    private Long creatorId;

    @Schema(description = "扩展信息json")
    private String ext;

    @Schema(description = "工单id")
    private Long orderId;

    @Schema(description = "父级动态id")
    private Long parentId;

    @Schema(description = "父级动态是否已删除, 0: 否, 1:是")
    private Integer existParent;

    @Schema(description = "父动态内容")
    private String parentContent;

    @Schema(description = "动态类型：0 工单变更；1 留言/回复")
    private Integer type;

    @Schema(description = "更新时间")
    private Date updateTime;

}
